home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / reiser4 / status.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  762b  |  31 lines

  1. /* Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    status.h -- filesystem status block functions. */
  5.  
  6. #ifndef REISER4_STATUS_H
  7. #define REISER4_STATUS_H
  8.  
  9. #ifndef ENABLE_MINIMAL
  10. #include <reiser4/types.h>
  11.  
  12. #define STATUS(status) (&status->ent)
  13.  
  14. extern void reiser4_status_close(reiser4_status_t *status);
  15.  
  16. extern errno_t reiser4_status_sync(reiser4_status_t *status);
  17.  
  18. extern errno_t reiser4_status_layout(reiser4_status_t *status, 
  19.                      region_func_t region_func,
  20.                      void *data);
  21.  
  22. extern reiser4_status_t *reiser4_status_open(aal_device_t *device,
  23.                          uint32_t blksize);
  24.  
  25. extern reiser4_status_t *reiser4_status_create(aal_device_t *device,
  26.                            uint32_t blksize);
  27.  
  28. #endif
  29.  
  30. #endif
  31.